import request from '@/utils/request';

export const getAuthFlow = params => {
    request('/api/uc/org/v1/list', {
        method: 'POST',
        data: { ...params }
    });
};

// 获取授权树数据
export async function fetchDutyListByOrganization(params) {
    return request('/api/org/v1/duty/queryDutyListByOrganization', {
        method: 'POST',
        data: params
    });
}
